<style>
dl.n-select{width:182px;}
</style>
<div class="content">
	<?php
		$categories = $data['categories'];
	?>
	
	<form method="post" action="<?=n_url('site', 'menuDoAdd')?>">
		<dl class="n-form">
			<dt>菜单分类：</dt>
			<dd>
				<select name='cid'>
					<?php foreach ($categories as $category):?>
						<option value="<?=$category['id']?>"><?=$category['name']?></option>
					<?php endforeach;?>
				</select>				
			</dd>
			<dt>名称：</dt>
			<dd><input type="text" name="menuName" value=""></dd>
			<dt>地址：</dt>
			<dd><input type="text" name="menuUrl" value=""></dd>
			<dt>打开方式：</dt>
			<dd>
				<select name="blank">
					<option value="N">默认方式</option>
					<option value="Y">新窗口打开</option>
				</select>
			</dd>
			<dt>是否显示：</dt>
			<dd>
				<select name="status">
					<option value="On">显示</option>
					<option value="Off">不显示</option>
				</select>
			</dd>
			<dt>序权：</dt>
			<dd><input type="text" name="dorder" value=""></dd>
			<dt>&nbsp;</dt>
			<dd><button>提交</button></dd>
		</dl>
	</form>
</div>
